#ifndef __WORK_THREAD_HPP__
#define __WORK_THREAD_HPP__
#include <list>
class work_thread
{
private:
    /* data */
public:
    work_thread(/* args */);
    ~work_thread();
private:
    struct event_base *m_base;
    int notify_send_fd;
    int thread_id;

public:
    void start();
    void setup();
    void thread_func();
    int get_pthread_id();
    void set_pthread_id(int pthread_id);
};
#endif